#ifndef HOMEFORMMODEL_H
#define HOMEFORMMODEL_H

#include <QObject>
#include <QDebug>
#include <QMap>
#include <QString>

#include "simdata_tcpsever.h"

class HomeFormModel : public QObject
{
    Q_OBJECT
public:
    explicit HomeFormModel(QObject *parent = 0);

private:
    QStringList m_Terminal;
    SimData_TcpSever *m_Sever;

signals:
    void terminal(const QStringList &v);

public slots:
    void start();
    void stop();
    void hz(int hz);

protected slots:
    void client_terminal(QString, QHostAddress, int);
};
#endif // HOMEFORMMODEL_H
